package cn.service;

import java.util.List;

import cn.entity.User;



public interface UserService extends BaseService<User>{

	
	public void deleteUser(User user);
	public User findUserById(Long id);
	
	public User findUserByNameAndPassword(User user);
	
	public List<User> getAllUsers();
	
	public String login(String username, String psw);
	
	public boolean logout();
}